//
//  YSWebViewController.m
//  HubayMe1
//
//  Created by apple on 16/12/26.
//  Copyright © 2016年 Global Barter. All rights reserved.
//

#import "YSWebViewController.h"

@interface YSWebViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation YSWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"HTML";
    
//    [self.navigationController.navigationBar setBackgroundImage:[[UIImage alloc]init] forBarMetrics:UIBarMetricsDefault];
//    [self.navigationController.navigationBar setShadowImage:[[UIImage alloc]init]];
//    
//    [UIApplication sharedApplication].keyWindow.backgroundColor = [UIColor redColor];
    
    NSURL *url = [NSURL URLWithString:@"http://wanqi.gbicn.com/appHomePage.html"];
    //2.创建请求对象
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    //3.加载网页
    [self.webView loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
